<?php

  /**
  * QuickSkin Extension mailto
  * creates Mailto-Link from email address
  *
  * Usage Example:
  * Content:  $template->assign('CONTACT', 'philipp@criegern.de' );
  * Template: Mail to Webmaster: {mailto:CONTACT}
  * Result:   Mail to Webmaster: <a href="mailto:philipp@criegern.de">philipp@criegern.de</a>
  *
  * @author Philipp v. Criegern philipp@criegern.de
  *
  * CVS ID: $Id: smarttemplate_extension_mailto.php,v 1.2 2006/04/30 19:56:04 endelwar Exp $
  */
  function quickskin_ext_mailto ( $param )
  {
    return '<a href="mailto:' . $param . '">' . $param . '</a>';
  }

?>
